package com.yunxin.core.domain.model.contact;

/**
 * @author zero°
 * @since 2023-07-12
 */
public interface ContactMessageSendSmsRepository {

    /**
     * 保存
     * @param contactMessageSendSms contactMessageSendSms
     * @return boolean
     */
    boolean saveContactMessageSendSms(ContactMessageSendSms contactMessageSendSms);

    /**
     * 更新
     * @param contactMessageSendSms contactMessageSendSms
     * @return boolean
     */
    boolean updateContactMessageSendSms(ContactMessageSendSms contactMessageSendSms);

    /**
     * 根据流水号查询
     * @param serialNo serialNo
     * @return ContactMessageSendSms
     */
    ContactMessageSendSms getContactMessageSendSmsBySerialNo(String serialNo);
}
